const mongoose = require('mongoose');

const schema = new mongoose.Schema({
    type:       {type: String,default: ''},
    title:      {type: String,default: ''},
    subtitle:   {type: String,default: ''},
    content:    {type: String,default: ''},
    head_img:   {type: String,default: ''},
    time:       {type: String,default: ''},
    author:     {type: String,default: ''}
})
module.exports = mongoose.model('Article',schema);